//
//  LTFTopicBaseHandel.h
//  NeteaseNews
//
//  Created by liutaifeng on 16/4/30.
//  Copyright © 2016年 liutaifeng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "AccountBookModel.h"
@interface AccountBookSQL : NSObject
{
    sqlite3 *dbPoint;
}
//创建一个数据库工具的单例对象
+ (instancetype)shareDataBaseTool;
//打开数据库
- (void)openDB;
//添加
- (BOOL)insertModel:(AccountBookModel *)model;
//查询
- (NSMutableArray *)select;
//删除
- (void)deleteCollect:(AccountBookModel *)model;
//更新
- (void)updateModel:(AccountBookModel *)model name:(NSString *)name;
@end
